<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<h1>what to buy</h1>
		<p title="a gentle reminder">Don't forget to buy this stuff</p>
		<ul id="purchases">
			<li>A tin of beans</li>
			<li class="sale">cheese</li>
			<li class="sale important">milk</li>
		</ul>
		<script type="text/javascript">
			alert(typeof document.getElementById("purchases"));
		</script>
	</body>
</html>
